home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Periodicals / develop / develop Issue 10 / develop 10 code / Is it Art? / ArtMaker / Shell.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-08  |  662 b   |  29 lines  |  [TEXT/KAHL]

  1. /* Prototypes for routines that app must provide and some constants */
  2. #include    "AppInterface.h"
  3.  
  4. /* The number of Shell Menus */
  5. #define kNumShellMenus        3    /* Apple, file, and edit */
  6.  
  7. /* the About... Alert ID*/    
  8. #define    kAboutAlertID        128
  9.  
  10. /*-------------------------
  11. Prototypes
  12. -------------------------*/
  13.  
  14. /* init.c */
  15. int initshell(void);
  16.  
  17. /* events.c */
  18. int DoEvent(EventRecord *Event);
  19. int DoMouse(EventRecord *eventptr);
  20. int DoKey(EventRecord *eventptr);
  21. int DoOS(EventRecord *eventptr);
  22. int DoMenus(long mstuff);
  23. int DoApple(short item);
  24. int DoFile(short item);
  25. int DoEdit(short item);
  26. void BailOut(void);
  27.  
  28. /* utils.c prototypes are in AppInterface.h */
  29.